<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"      
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:cc="http://java.sun.com/jsf/composite"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:ic="http://ivyteam.ch/jsf/component"
      xmlns:p="http://primefaces.org/ui"
      xmlns:pe="http://primefaces.org/ui/extensions"
      xmlns:pm="http://primefaces.org/mobile">
      
<cc:interface componentType="IvyComponent">
</cc:interface>

<cc:implementation>
        <h:form id="logWorkForm">        	
           <h:panelGroup layout="block">
           		<h:panelGroup style="float: left">
           			<h:outputText value="#{data.history.task.id}"/>
           		</h:panelGroup>
           		<h:panelGroup style="float: right">
           			<h:outputText value="Create By: "/>
           			<h:outputText value="#{data.history.task.createdBy}"/>
           		</h:panelGroup>
           </h:panelGroup>
           <h:panelGroup layout="block">
           		<h:outputText value="Assignee: "/>
           		<h:outputText value="#{data.history.task.assigned}"/>
           		<p:inputTextarea id="logWork" value="#{data.logWork}" rows="5" autoResize="false" styleClass="inputtext"></p:inputTextarea>
           </h:panelGroup>
           <h:panelGroup layout="block" style="text-align: right">
           		<p:commandButton value="Log work"/>
           </h:panelGroup>
        </h:form>    
</cc:implementation>
</html>